Fix file list scrolling for window resizing