Added platforming physics for the player