pagination working but need to change UI