Tile animation

This sets up tile animation.