added an onblur/onfocus directive, fixed search arrow