Added show/hide of progress bar and animations to make it look better