fixed affix on resize & latex