small changes to gallery