Fix height of search suggestions

-Need to add onDestruction to make sure the height gets updated properly
-Fix syntax error