big navbar script for active tabs