Added pagination option stored in a cookie