limiting animation to y axis