Homepage changes active tab based on current url.