refactor search styling to be uglier, but more reliable. limit results to 10