I see what you are saying now. You want it to go:
1st color
2nd color
1st color
and you want it to expand with the size of the nav section depending on its contents. If that is the case, then I think there is a parameter that will let you stretch an image to the table cell size (assuming your nav section is in a table.) That way you can just make a single gradient image.