making index responsive