Added ability to move to cursor