Made index responsive on dynamic