add prompt animation effect