Fixing up search box and dropdown menues
For migrating from Aperitif