commit
fixed bugs relating to animations and flashing