Incorporated some fixes from github
Added viewWillLayoutSubviews method to try and resolve issues of not getting rotation messages under certain circumstances
CCD-15043: Updates to fix rotation bug