added code to handle hide/show of results section