On firefox, scrollWidth is does not reflects the total width.