css remake, fixed bugs with layoutmanager