Momentum and density dependence of the ph interaction in continuum RPA calculations with Skyrme forces