working out animation issues