restoring zoom functionality