Fully implemented vertical cursor behavior