Adding directional animation