create center percentage method, zoom in and out!