Added swipe gesture and picture load