nav tabs refactored