How to make sidebar navigation scroll with main content without an empty space at the top


I am getting the exact problem that Kevin described with the empty space at the top of the sidebar when scrolling with content. Is there html of css code to prevent or remove the space? Thank you.