Handle page resizing woes