Improved the player movement