added on click function in work and contact nav button