Quick implementation of animated gifs -- kinda hacky right now