West Virginia has gone through phases of aligning itself with major parties , voting mostly for the Republican nominee between 1896 and 1928 , and then siding mostly with Democratic nominees between 1932 and 1996 .