added min height for main frame