added key toggle transition