fixed with and margin of subnavs in dropdown mode
refactored mouseevents