had to bind the mouseup mouseleave resizestop events to the ozpframe stop function to save state of widgets on resize and draggable