add locate control to demo