Smooth state transitions only when wanted