Flickity - pointerUp event, vanilla JS