added drag limits, hid cursor