My husband was having lots of nightmares, shouting out, flailing, falling out of bed, and lately hallucinations. It was suggested that instead of taking his Aricept at night, take it in the morning. So far there are none of these behaviors (after just three days) Hope this will be the permanent answer!
Your experience and reporting it here may well help others.
God bless.