Implement map and list toggle