Fix ability of setting custom ‘disabled‘ class

Fix for ‘set custom disabled class' feature. There was hardcoded class for ‘next‘ nav element. This PR should fix that :)