Mouse class drag method