reverse secondary layout, remove tabs