[modified] gallery model modified
[add] top page gallery layout engine