Bugfixes to baseScroll, broke when / was in URL