gallery modifications and menu