Add navigation template, need to plug-in

I integrated a navigation template for movie detail view. It need to be plug-in. I tried but I don't figure out, how it works really. If someone can finish the job. :-)