fix the height problem in the view page