Properly assign active tab nav class