On my 3200 there is no way to zoom the lens from the camera controls you have to use the zoom to ring on the lens. Pretty sure you 5100 is the same.
Visit my Nikonians gallery.
Copyright © Nikonians 2000, 2014
All Rights Reserved
Nikonians®, NikoScope® and NikoniansAcademy™ are trademarks owned by Nikonians.org.
Nikon®, Nikonos® and Nikkor® are registered trademarks of Nikon Corporation.