There are 2 white wires on one side, 1 red on top and 1 black on bottom on other side, there is no ground/green screw as it is very old. I transferred all the wires one from the old switch to their corresponding spot on the new switch, one by one (2 white wire on black screws, the other 2 wires on the brass).
The switch now works, but not the way it used to be. So I switched sides, and it's still the same. What did I do wrong? Can you please help?