finished adding zoom functionality