added single-key positioning for cursors