adding total slides number and a menu bar