add folders directive which supports mobile/desktop adoptive design