Updated css to work with gifs