worked on positioning activitiy links when one is selected