1) creating scrollbars from xml

2) cleanup