Bug fixes

Update the way that the initial resize happens (load event may never trigger if content is already loaded)