Restriction on panning- fix