dynamically adjust height for course search section headers