Properly count the number of bytes copied over from buffer in the scroll-left case

Also fix the conditional determining when we can re-use buffered data in the scroll-left case

IGV-2055