added fragment array to tabbed fragment array. Checks to see if fragment
array has an instance of the spsecified fragment before creating a new
one. if not, it creates the fragment and assigns it to the array for the
next time that fragment is clicked on.