Added SmartMoveToTheEol from bitbucket