Ernst fix ie

It fixes serachbar issues in IE10. Tested in IE10, chromium and firefox