refactored viewForPage:
updated podspec