Toggle search-box visibility using options.visible boolean

This resolves #867