added some layout for main view