Changed index to a series of media divs