bugfix: slides aren't messed up while changing from pdf to other slide