Detect if DevTools is open and its orientation