use hashchange with example slugs to select example from pattern doc