Trying to slowly replace all of the old switches in our 1980s home and having trouble getting the new Leviton switch to operate the ceiling fan and light. The two switches operate a ceiling fan and the lights attached to fan. I've attached a photo of old configuand 2 of the new config--box has 3 black wires and 1 red and of course a ground wire and white wire (never used) in box that are capped ... tried a few different config with the wires with the new switch but it either turns the light on/no fan or turns the fan on and the hallway light ! Config help please? Thank you!