Enhancements to pagination, added click events for individual levels