fix resolution gallery, added some html5 tags