fixed auto-scroll not firing for some elements. issue #6