zooming function kinda works now