added upsidedown device viewing