Made the hovermenu more flexible.