added drag and bounding box