fix smooth scrolling to only happen to intra-page anchor links