Updated app to have dynamic page sizes