player movement is working and added flipping the player depending on direction of flight