Randomly moves the cursor