overflowing out the sides in Galleries