Cap pager input params to valid range(s)
Merge pull request #305 from modilabs/cap_pager_params

[widget/paper][s]: Cap pager input params to valid range(s) - thx to @larryweya.