styling expand/collapse, add attr