Added section centering when resizing the window