Html fixes 24-10

Small html fixes

- Subcategory
- Edit topic/ New Topic
- code cleanup