Added functionality which allows users to click headers in index screen.