jumpy scroll bug resolved

A jumpy element on scrolling in certain cases is resolved, thanks to
https://t.co/axuA2JLok0