modifications for responsive layout support in galleries