Make sure the correct item is selected in drawer when navigating the back stack.
Ported scratchpad to navigation drawer.