Simplify responsive functionality of slideshow.