Add animation when zooming