Add javascript to remove affix class for small windows