Cleaned up code for player movement + animation