div resizer call function for the header slider moved out of the window.onload event
fix to the loading speed of the slider at the header