Removed class-based navigation from getActivePositionFromClassGroup and used data attributes instead. This fixes some fringe issues.