Fix resizing page