add GitHub ribbon
basic info
fix typo
simplify the code that calculates the scrollbar size