fixed zooming in/out functions