diff --git a/files/templates/userpage.html b/files/templates/userpage.html
index 792a72ad54..75d73a0ac2 100644
--- a/files/templates/userpage.html
+++ b/files/templates/userpage.html
@@ -113,36 +113,33 @@
{% endif %}
-
+
{% include "submission_listing.html" %}
+
+ {% if listing %}
+
+ {% if page>1 %}
+ -
+
+ Prev
+
+
+ {% else %}
+ - Prev
+ {% endif %}
+ {% if next_exists %}
+ -
+ Next
+
+ {% else %}
+ - Next
+ {% endif %}
+
+ {% endif %}
-
-{% if listing %}
-
-
- {% if page>1 %}
- -
-
- Prev
-
-
- {% else %}
- - Prev
- {% endif %}
- {% if next_exists %}
- -
- Next
-
- {% else %}
- - Next
- {% endif %}
-
-
-{% endif %}
-
{% endblock %}
{% block sidebar %}