fix loading view for ios 7