Threshold resummation and rapidity dependence