Sets the active class to a tab based on the time of day