diff --git a/apps/files_imageviewer/css/lightbox.css b/apps/files_imageviewer/css/lightbox.css
index 225b11ff9a2cbb2b5ce933226cd7f45504b59b4a..d5a1c335146729ecce8201b3a4b2960660945aeb 100644
--- a/apps/files_imageviewer/css/lightbox.css
+++ b/apps/files_imageviewer/css/lightbox.css
@@ -1,5 +1,5 @@
 #lightbox_overlay{
-	position:absolute;
+	position:fixed;
 	height:100%;
 	width:100%;
 	top:0px;
@@ -11,7 +11,7 @@
 }
 
 #lightbox{
-	position:absolute;
+	position:fixed;
 	max-height:90%;
 	max-width:90%;
 	top:10px;