Fixed the positioning and autoresizing for certain rotation scenarios. The autoresizing masks are applied conditonally based on the browserOptions.toolbarposition flag to ensure that the toolbar is in it's correct place.  Also added a utility function the query the necessary offset for the status bar: the function takes care of the iOS version and orientation caused differences without hardcoding the value as 20 pixels.