Small bug that computes u_gtg with the wrong sign when checking for sliding_left or sliding_right