renamed varaible prefix in c_resize_by_mouse class, and added a function to resize by mouse a ui obj