Implemented moving and zooming