Direction of magnetic field in capacitor