fixed problem which prevented the snake to move to the left