I have managed to get it to a state that works ... they wanted a tabbed style survey with question groups being optional ... so to do this I added the following at the bottom of endpage.ptsl
$('#index').insertAfter($(".surveyname"));
$('#index').css('float',"left");
$('#index').css('margin-bottom',"5%");
Then styled the <li> elements with a float ... the result is in the screen shot attached ... a little more work to do on the formatting of the list to remove the automatic numbering but this should meet their needs ....
Thank you all for your replies