reduce the occurance of a ui glitch in the files view
final to const
Merge pull request #3092 from devoncarew/devoncarew_files_glitch

reduce the occurance of a ui glitch in the files view