Working on issue where definition sidebar transitions would have their events called twice