Ensured that fragment is not added to the url when tab is clicked