add show/hide event and new type transition