a slider to creat a mini images show with touch and swipe events