Added pagination UI elements