fixed timer2 bug causing the animations to not progress
added a temporary fix for the arduino mega