changes to gallery css and jade