how do magnetic curtain rods work