Fixes swipeJS gallery links