Added option to deactivate momentum.