styles the pages, adds tabs for listing layout