for most of its footage , the newfangled thriller proves that director m. night shyamalan can weave an eerie trance and that mel gibson can gasp , shudder and fifty-fifty tremble without losing his machismo .