make sure empty view disapears when showing progressbar