Do not register date picker if window width isn't wide enough.