@Override
 public Fragment getItem(int i) {
   Template.Clip clip = sTemplate.getClips().get(i);
   Fragment fragment = new ClipThumbnailFragment(clip);
   return fragment;
 }
 private void loadStoryTemplate(String path) throws IOException, JSONException {
   sTemplate = new Template();
   sTemplate.parseAsset(mContext, path);
 }