The solution to rotting sidewalls is a small piece of bent metal called a kickout ... If the kick-out and step flashing can't tuck behind the siding, screw on cap flashing to cover it, then ...