Changed zoom logic