reverted StoryFragmentedit and add only relavant changes for gif