added a method used to show the main fragment while currently displaying the content fragment (only)