I am writing a document using the book class, and the hyperlink to the index sends the pdf viewer a bit too far, i.e. when I click the top of the screen is at the start of the index instead of displaying the index title. Here is a MWE :
\documentclass{book}
\usepackage{hyperref}
\usepackage{makeidx}
\makeindex
\begin{document}
\cleardoublepage
\phantomsection
\addcontentsline{toc}{section}{Table of Contents}
\renewcommand{\contentsname}{Table of Contents} % Original name = Contents
\tableofcontents
\index{foo}
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\indexname}
\printindex
\chapter{foo}
\end{document}
When I compile it and click on index, I get to that position :

How can I have the hyperlink to index send exactly to the index page, with the index title clearly visible at the top ?
Edit: Fixed the order of phantomsection and addcontentsline
Edit 2 : The log with a verbose hyperref is the following :
Package hyperref Info: Anchor `Doc-Start' on input line 18.
Package hyperref Info: Anchor `chapter*.1' on input line 20.
(D:\Travail\Bugtex\bug.toc
Package hyperref Info: bookmark on input line 1:
(hyperref) thecounter {0}
(hyperref) text {\contentsname }
(hyperref) reference {chapter*.1}
(hyperref) toclevel {0}
(hyperref) type {toc}.
Package hyperref Info: Reference (link) `chapter*.1' on input line 2.
Package hyperref Info: Reference (link) `section*.2' on input line 3.
Package hyperref Info: Reference (link) `chapter.1' on input line 4.
)
\tf@toc=\write4
Package hyperref Info: Anchor `page.1' on input line 23.
[1
{C:/Users/Arnaud/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}
Package `hyperref' Info: End of reference (link) `chapter*.1', line 2.
Package `hyperref' Info: End of reference (link) `section*.2', line 3.
Package `hyperref' Info: End of reference (link) `chapter.1', line 4.
]
Package hyperref Info: Anchor `page.2' on input line 23.
[2
]
Package hyperref Info: Anchor `section*.2' on input line 24.
Package hyperref Info: bookmark on input line 25:
(hyperref) thecounter {0}
(hyperref) text {\indexname }
(hyperref) reference {section*.2}
(hyperref) toclevel {0}
(hyperref) type {toc}.
(D:\Travail\Bugtex\bug.ind
Package hyperref Info: Reference (link) `page.1' on input line 3.
Package hyperref Info: Anchor `page.3' on input line 5.
[3
Package `hyperref' Info: End of reference (link) `page.1', line 3.
])
Package hyperref Info: Anchor `page.4' on input line 28.
[4
]
Package hyperref Info: Anchor `chapter.1' on input line 28.
Chapter 1.
Package hyperref Info: bookmark on input line 28:
(hyperref) thecounter {1}
(hyperref) text {\protect \numberline {\thechapter }foo}
(hyperref) reference {chapter.1}
(hyperref) toclevel {0}
(hyperref) type {toc}.
Package atveryend Info: Empty hook `BeforeClearDocument' on input line 29.
Package hyperref Info: Anchor `page.5' on input line 29.


\raiseboxcommand, but it would be only a workaround. – Malipivo Apr 19 '14 at 13:53