added animation for player movement