Make page size configurable
Update label when dragging slider