Add orientations changes support.