Added option for custom next/prev classes

Forgot to add the custom case :( I'll make a new pull request for that. Sorry.