Added id-based scrolling