Fix index image not resizing relatively
update css