It would be a lot happier if it were 0 feet away from a south facing window (assuming you're in the northern hemisphere). The changes related to low light tend to become most exaggerated in winter. I don't know why it would suddenly wilt, but weak, gangly stems are a hallmark of low light.