gallery size fix