tweaks to css & logic