fix the view size for ios5