Redo the layout when the device is rotated.