Modify backend to support revealjs variables like browser history, slides vertical alignment