check velocity
< 0 -> left
> 0 -> right