Prevent scroll if anchor for bootstrap tab is in window.location