fix for search display error on mobiles