fix bug in search (on refresh), adjusted css