Clothesline with extendable beam