fix scrollbar detection in autothumbs