Replaces `indexOf` with `$.inArray` in navigation plugin
Corrects `change` event for position in carousel