create pointer animation