- added better method for displaying gif