finally added the toggle option for animate(). It's not beautiful right now, but it works for the time.
Attach a file by drag & drop or click to upload