cleanup some commented out stuff, added back/prev button clicks for appheaderfooter