Added little hack to make pdf slides working right.
Merge pull request #2 from damianavila/new_pdf

Added little hack to make pdf slides working right.