trying to work out how to displace stuff relative to the cursor - nearly there