Dynamic van der Waals interaction of a moving atom with the walls of a flat slit