Gallery almost done(only a few bugs remain)