display properly thumbnails on mobiles