Plasmonic Bragg reflector and its application on optical switching