added loading bar

suggestion from http://goo.gl/HVUoGd