using csslayout at fullscreen viewer