Fixed auto-scrolling for custom scrollbar