updated zoom functions