fix topbar hover issue for small devices