pagination always stay on first page