added moving cursor; closes #5