Created basic zooming and panning directive