fix(autoExpand): Fix autoExpand related computations while scrolling

Close #286