Adding smart scroll/section detection