fix sidebar and index image link
improve sidebar