fixed affix bug for mobile