create moveVertical function
add moveLeft function