Add support for swiping gallery images