revised clicked to move and cursor shape