Fixed page resizing issue