Add scrolling effect to gallery.