create pulse animation of loader