scroll bar minification refactor