add animation listener

reviewer: @superdry