took out unnecessary code for zoom in function