fixed buggy logic in next/previous when bookmarks have been removed
Merge branch 'dev'

Conflicts:
	manifest.json