doc return types
clean up layout of toggle buttons