if not animated then set animation duration to 0