Nano device 'times drug release'