Better control for elements with custom scrollbars