changed layout with showing and click to show on the date ranges