Added prevnext option and fixed few bugs related to using prevnext and links options simultaneously. Both navigation and prev / next links are now enabled in demo, all generated elements moved into the element plugin is called from.