Added inner class ScrollingPanel but haven't integrated it into code.