Detect if right (or lef)t array is empty, to set the scroll in one direction