Fix up sidebar

* Limit to 10 most recent blog posts
* Affix to top when scrolling down
* Change title from "Posts" to "Recent Posts"
* Refactor an if-statement