button to sort by domain
fixing scrollto error when tab is not displayed