added functionality jlist to control right side panel