Here I have faced an interesting issue. When I click header links, there exist two outputs: positive and not working.
And I guess I know what's the problem, but cannot fix it. I'd really appreciate your help.
So here is my conclusion:
1. Working: when you're on first block, you can go to the second, third and fourth blocks by clicking header menu links. And if you're on second block, you can go the third and fourth only(not to the first)
2. Not working: As I partially mentioned, when you are blocks below, clicking header menu links doesn't lead to blocks above. For example, from 4th block you cannot go the first block.
And it is, I guess, because of sticky blocks. They are going up to one page height, i.e, they are not moving up from top screen as they are sticky. And this causes them to stay their place even after header links are clicked. On the other hand, they working when blocks are below as they are really down from bottom screen view.
https://codepen.io/mshakhriyorov/pen/vYRNOVp