added scrolling to panels