Add logic to show the notification and settings panel in expanded desktop

Change-Id: I5fd5ded1e5fd58ec5a3e37b6e7897f3df651354d
Only change expanded desktop state when statusbar is hidden