fixed issue causing footer to appear on last page if the previous page had a footer
added numberOfPages method to layout query methods
updated podspec