Adding tablet layout for galleries