css & popstate tweaks