fixed navigation bug when attached to custom selector
Merge pull request #57 from floriangaechter/master

fixed navigation bug when attached to custom selector