corrected the relative layout; adjusted the pixel ratio of thumbnails