Implemented scrolling in the panel