fixed js errors on accordian, added page nav btns