Organize function handlers for navigation by location hash