Fix to match thumbnail to slide on any page reload