adding left and right swipes for snake control