fixes #1564 - Search/Data List: change "Preview" to "Hide Preview" when graph is shown
        - added functionality to swap callbacks and texts on the link
        - added animation when hiding graph
        - created set of callbacks to fix the case when a user opens a graph then opens another one without hiding the first one
        - fix animation on the above case