Replacing a dimmer switch that is 1.) broken 2.) not only dims the lights but also the fan speed. There are two switches. One I do not know what it operates but has a jumper wire from the dimmer to the bottom screw, a black wire on the top screw (same side), a red wire on the left side and nothing connected to the green screw. The dimmer has three wires coming out of it. Black #1.) is spliced into the red and black wire coming from the wall; Black #2.) is spliced into the jumper wire to the mystery switch; Green spliced into bare from the wall. I purchased a three screw switch: 2 golden screws on the right and then a green screw on the left. Where do I put each wire? Black on the top screw with a jumper running to the other switch, red on the bottom, and bare to green screw?