minor change to keep the close button in the upper-right when device is reoriented

Signed-off-by: Brian Kiel <briankiel@gmail.com>