Add view mode toggle markup.