added nav panel and refactored activity with fragments