Implemented cursor naviation commands.