moved where the drawerToggle is detatched and re-attached

This might fix it, I think. Should relate to issue #39