Use same code for Zoom and Animation