fixes bug where quick turns can result in the snake turning backwards