It's not the cheapest, but I suggest remove the cabinet above the dryer, and stack washer and dryer together, and then add a closet to enclose all of them.
Google "stackable washer dryer".