A block of mass m and charge q is placed on a smooth horizontal table which terminates in a vertical wall at a distance d from the block. A horizontal electric field E towards right is switched on. Assuming elastic collision, find time period of the resulting oscillatory motion.