added function to style the searchtool