create dinamic sidebar navigation menu