fixing animated gifs sidebar
proper indexing