move cursor to end