Added dynamic navigation generation