make preview img responsive on small screens