add function to show/hide folderview