fade title text out

If the title is too long, fade it out so it fits
fix padding
take the page into consideration when using index