diff --git a/src/util/directives/FixedMouseContextualContainerDirective.directive.ts b/src/util/directives/FixedMouseContextualContainerDirective.directive.ts
index aaa84f8bd1a1d7c9488cbe2824a70ba78b604a98..89409b75a48ac9cb797d4064e0e73887c6f21587 100644
--- a/src/util/directives/FixedMouseContextualContainerDirective.directive.ts
+++ b/src/util/directives/FixedMouseContextualContainerDirective.directive.ts
@@ -25,13 +25,10 @@ export class FixedMouseContextualContainerDirective {
   }
 
   public show(){
-    if ((window.innerWidth - this.mousePos[0]) > 220) {
-      this.transform = `translate(${this.mousePos.map(v => v.toString() + 'px').join(', ')})`
-    } else {
+    if ((window.innerWidth - this.mousePos[0]) < 220) {
       this.mousePos[0] = window.innerWidth-220
-      this.transform = `translate(${this.mousePos.map(v => v.toString() + 'px').join(', ')})`
     }
-    // this.transform = `translate(${this.mousePos.map(v => v.toString() + 'px').join(', ')})`
+    this.transform = `translate(${this.mousePos.map(v => v.toString() + 'px').join(', ')})`
     this.styleDisplay = 'block'
     this.isShown = true
     this.onShow.emit()