delete script for animation of input