fixing layout issues, better dot hover behavior