Replaced magic number for animation delay with a static constant