tile animation implementation