adding scrolling and changing background color for line panels