Like bootstrap affix, fix an element in the viewport but not overlap the header and footer as much as possible.