Implemented slide zooming and panning (horizontally and vertically).