fix #815 top and search list style is sometime broken