add delay for keyboard transition