fixed scrolling bug for files