added scrollbars, configuration now an argument in constructor