Precessional switching in narrow ring nanomagnets