added ability of player to end glide