diff --git a/config/presentation.sty b/config/presentation.sty
index e18f93024c51e11954e3e57bf075a53745664ca8..3e31251dc9f0583056ff782b41db5e48df7bdc98 100644
--- a/config/presentation.sty
+++ b/config/presentation.sty
@@ -46,16 +46,14 @@
 \setmonofont[Ligatures=TeX,Path=fonts/,SmallCapsFont=AlegreyaSansSC-Regular]{Inconsolata}
 
 % frame counter
+\def\minvalue(#1,#2){\ifnum #1>#2 #2\else #1\fi}
+
 \newcounter{totalfr}
 \setbeamertemplate{footline}{
-\ifnum\inserttotalframenumber=1
-  \setcounter{totalfr}{2}
-\else
-  \setcounter{totalfr}{\inserttotalframenumber}
-\fi
+\setcounter{totalfr}{\insertmainframenumber}
 \hfill{
 \tikz{
-\filldraw[fill=inriared!20, draw=inriared!60]  (0,0) -- (0.2,0) arc (0:{\value{framenumber}*(360/(\value{totalfr}-1))}:0.2) -- (0,0);
+\filldraw[fill=inriared!20, draw=inriared!60]  (0,0) -- (0.22,0) arc (0:{\minvalue(\value{framenumber},\value{totalfr})*(360/(\value{totalfr}))}:0.22) -- (0,0);
 \node at (0,0) {\normalsize \color{inriagray}\scriptsize{\textbf\insertframenumber}};
 }
 }
diff --git a/main.tex b/main.tex
index 9823125b410d9f3273bf9566912415dc1da2f92e..861a63245268cf9cd43f3a8df4f2c208a1ce5f67 100644
--- a/main.tex
+++ b/main.tex
@@ -73,4 +73,9 @@
 
 \framecard{\hugetext{Questions?}}
 
+\appendix
+\begin{frame}{Back-up slides}
+	Thanks to the \texttt{appendix} command, the back-up slides will be excluded from the total frame count in the bottom right counter.
+\end{frame}
+
 \end{document}
\ No newline at end of file