Some JS to set new dimensions to galleria