automatic resize list-doc

dot-tab fixed width
swich active doc on click on a open document selector
remove active class from document selector when the document is close