fixed scrollX check