fix back-button flickity bug by destroying flickity instance on page unload