zooming and panning partially working