fixed zoom functionality