added nProgress and some fixes and changes
addition of nprogress