Fixed route param bug

changed how items are set active and how classes are handled