More detailed user agent check, small css change to show images on tablet inline