Containg a slider to a Nav. Box

Hi there,

I’m having problems with my slider, i can’t find the write code to keep it within the boundries of the nav box, can anyone help?/
Thanks for looking.