added active link functionality. working on some issues with it