Changed where SlidingMenu is added to fix null pointers