Implement sticky sidebar support.

Related to #1.