Adjusts background size of index's container