Adds elastic animation in fancy box.