fix headerbar on more pages and added max-didth 600