Added expanding gallery to stylesheet, many other tweaks