Working events navigation. Modified leafClick and events data tree build functions to create working events navigation system.