Merge element animate in animation-constructor with that in effect-callback

@shans ptal