JBIDE-13774 BrowserSim: remember last device orientation

functionality implemented.

Must be applied after #45