danielle panabaker playing a wizard in harry potter