Horizontal cursor motion, tests for vertical cursor motion