fix the bug that the silder stay the original position when the window resize
add seajs to background to load settings and modulize the config.