optimize background image for treeindex