Added smooth scrolling support