gallery improvements