Add timeout to smooth out transition. Closes #78.