don't let players change direction while moving upward