progress bar is visible while image loads