Refactored and improved camera zoom