add pagination, change preview style