Properly set 'active' tab in top nav