Made page reload on resize to resize the sections.