Perform fragment replacement after drawer is closed to make the animation smooth(transition animation needs to be refined)