changed slidingpanelayout to drawer and added immersive mode support and squashes many bugs.
merged drawer layout and immersive mode support