refactored folder view controller to remove unneccessary if statement

Basically just removing an unneccessary if/else statement from the view-folder-controller page.