setup global animation delay variable