Style image gallery 2x2 and remove uneeded styles.