Sliding menu pages tutorial problem

Hi, I was trying to attempt this effect but am having no results, I was hoping someone could point me in the right direction??

I have more buttons then menu pages because some buttons will open up a new window and different page. only buttons 1,2,5,6 are the sliding menu pages.