restrict the width of navbar search form

fixes #421