Provide current index fallback

This allows dynamic section creation (with AJAX, for example)
Merge pull request #158 from peterdemin/master

Provide current index fallback merged. Thanks!