refined secondary layout for main page frameworks