updated animation, new logic for replotting