Sticky-position

I want to stop before navigation bar in using sticky-top position.