add slide-div to template and change how javascript adds the menu to the template

added slide-div to the template that will be replaced by javascript,
which gives us the  possibility to place that div anywhere in its template and place content before and after it.