Drag the dipole to set the angle $\theta$, test oscillation time period $T = 2\pi\sqrt{\mathcal{I}/mB}$, and analyze potential energy $U = -mB\cos\theta$.