added fix to remember scroll bar position on page reload

formatting fix

fixed bug

formatting

removed debug

added fix to remember scroll bar position on page reload