Added ability to customize the zIndex level for galleryView and removed css height declaration for .gallery