adds grabbing cursor