Fixing pagination spacing