#sidebar { position: -webkit-sticky; position: sticky; top: 0; }