added method to track drag move