added support for custom scrollbars