created base class for three tab fragments and moving common code to base