The Democrats gained a majority in both houses in the 1954 election