Enabled zooming and panning, but it is slow