Updated to view helper

@mchesterkadwell - quick refactor, what do you think. Can you see what I have done?
Mistypes protected variable, updated example.
Removed extraneous bracket
Merge pull request #55 from findsorguk/extendViewHelperCurPage

Extend view helper cur page