Added vertical pagination