modify css and javascript for expand/collapse attaches