Fix switching files in the file list
Merge pull request #35 from ksimons/master

Fix switching files in the file list