Added button for toggling animation on/off.