Added cookie functionality to warn the user once about pan behaviors