Beamer template works with handouts