use transforms for animation, instead of modifying the frame