Change to use updateConstraints

Replace updateDynamicHeightConstraint to use the more Apple way of
setNeedsUpdateConstraints/updateConstraints.  Add device orientation
rotation detection and handling too.