Use the offset of the first argument provided (x) to determine scrollLeft.