Embedded timeline disappearing


I’m working on localhost with sapui5, and i have put embedded timeline in it. It works great the first time i enter my website, but after I go to another page in my website or, click again on the same page, the timeline disappears. If i leave the class and other objects inside <’‘a’’> it shows the link and required space for timeline, but no tweets and design. But if I take out <’‘a’’> and put class and other objects inside <’‘div’’> than it doesn’t even show the required space.

Could you please help me with solution?