enables inline style animation