moved adapter to the fragment