diff --git a/templates/files.html b/templates/files.html
index 04aa576..43d7f4b 100644
--- a/templates/files.html
+++ b/templates/files.html
@@ -110,10 +110,29 @@
{% if folders or grouping == "None" %}
{% endif %}
+
+ {# rare event of empty folder, still need to show back button #}
+ {% if folders and entry_data|length == 0 %}
+ {% if cwd != root %}
+
+
+
+
+
+ Back
+
+ {% else %}
+ {# create an even lighter-grey, unclickable back button - so folders dont jump around when you go into them #}
+
+
+
+
+ {% endif %}
+ {% endif %}
{% for obj in entry_data %}
{% if loop.index==1 and folders %}
{% if cwd != root %}
-
+
@@ -196,7 +215,7 @@
{% endif %}
{# if this dir is the toplevel of the cwd, show the folder icon #}
{% if dirname| TopLevelFolderOf(cwd) %}
-
+ {{obj.name}}