Update resizer function to fire on window load

The resizer function was being called before some of my div content was set which created a weird error and adding extra margin-top to my vertically centered div. I adjusted the code to fire the resize function on window.load and it works perfectly.