made search box a jquery tab, fixed some issues related to search box.