added zooming functionality and buttons