changes to addy's ext gallery so it fits nicely.