fixing bgimage for the index view