added c_resize_by_mouse_manager class to do the resize by mouse