distance now set to 0 when flap is disabled. percentOpen no longer NaNs when width === 0
2.0.2