add collapse class to rows