Moves current page limiting to setter to avoid integer math errors leading to current page being set to very high number