Add basic fragment transition code as template