toggle icons for list and graph view