Fix animation callback with delay

if delay > 0 and duration = 0
Consider delay too to bind callback instanly or when animation ends