move cursor to pointer