added res's for testing animation
added code for directional changes