Apply dynamic animation to both axis