added file count to sidebar
hook up scan sidebar to show/hide input & output