Sri Lanka are 320 behind with seven wickets in hand after two days of action in Rawalpindi