improve show and hide links button