diff --git a/templates/js/entities.js b/templates/js/entities.js
index 769932b9628cc5212194cc0a3346cc806246b4bb..2e4a69a0018fc648e7c6c6acc5787666be1fe3b3 100644
--- a/templates/js/entities.js
+++ b/templates/js/entities.js
@@ -251,7 +251,7 @@ function show_details(id,next,prev) {
      $("body").removeClass("busy");
      $("#link_"+id).removeClass("busy");
      $("#entity_details").dialog("open");
-     $("#entity_details").parent().css("top", $(window).scrollTop()+30);
+     $("#entity_details").parent().css("top", $(window).scrollTop()+30).css("left", "30px");
      $("#entity_details_content").html(data);
      if(coco_id != 0)
         $("#show_coco").show();