Fixed single slide display

Separated Javascript  onclick from slide navigation scripting.
Single slide view has a separate template now.
Caption styling was missing from single frame.