Fix #34

I removed the check for scrollX because I think that perhaps this function is not consistently run since the scroll events happen too quickly, so it doesn't properly reset the "left" property when the user scrolls back to 0. Resetting the "left" property every time does not seem to have any performance impact.