Implementing basic glide locomotion