fixed scrollview hanging issue for loginviewcontroller