fix sidebar position when resizing
indention fixed
indention fixed
ie reference error fixed

added missing var statement
Merge remote-tracking branch 'grmlin/gh-pages' into gh-pages