Flickity - staticClick event, vanilla JS