adding zoom pan fns