initializing pagination home view UI