fix the triggerRefresh behavior for different direction