fix for ios7 keyboard hide issue