Hi!, can you please ZIP the template and upload it here?...
What you call 'sidebar', it's also known as 'navigation bar' or 'scrollbar'. This is explained
here, and
here, with a working example
HERE.
Then, you will have to adapt that example code to fit in your template.