Added devicePixelRatio and some css for mobile slideshows