added some responsiveness to index