tweaked the red box animation