scrollLeft shouldn't be a global
tweak some syntax casing