Set the runloop mode so that gifs animate while scrolling

h/t @josharian