Prevent reversing the direction of the snake