trying to fix panel scrolling