Divided app grid into pages to make horizontal scrollable list