implemented transitions

Kind of janky and not scalable but it works for the one transition I have.