changed hideHeaderView to work with android 2.3.3

On Android 2.3.3 the progressbar was not set invisible or gone, so it was always showing