populating submenu with slide titles -- works in safari, not chrome