fix for scrolling panel