make some progress in custom affix method. todo: fix position for affix-bottom