fixed oscure bug in sidebar, added progressbar