Jquery plugin for setting the window offset when a window is resized