Added gallery to elements

A very non-exciting change but now you get a gallery index with elements