Wrote functions for plate animations. Tried using setTimeout but it did not work. Need to look into it more.