SideNavPosition now uses Revealing Module Pattern
Moved stat order finding for location routes to remove unnecessary looping