improvements to rotate option for Beamer figs