A full screen gallery in javascript