Detect if there are only button on left or right to set the scroll in one direction