Added orientation change.