backported features from info-beamer-pi