add key-down check for advancing text.