added swipe to gallery