added cube transition for deck.js and copied mixify in