fix the height of the main page