Added option for transition. Default remains the same as "fade"

Other option is "none" and can be expanded to other transitions.