flexible working mental illness