The seedy history behind gerrymandering and the fight to preserve white power