changed layout on navigation