add active state pattern to navigations