Fixes #2 - add check, whether div element is already applied to the dom. If not, prevent animation