Don't remove this line.  The velocity still needs to be calculated because there is outside code that calls panningResolver.getVelocity(), so we need to compute it each time, even if we are not doing any lookahead adjustments.