started laying out structure of CubeGallery js