Create method 'updateTotalPages' that recalculates the page count and dimensions based on its current children.
Create method 'updateTotalPages' that recalculates the page count and dimensions based on its current children.

alexanmtz/sliding,alexanmtz/sliding,alexanmtz/sliding