Need help with photo gallery(again)

I am trying to create a photo gallery according to the tutorial provided here.But, my forward and backward buttons are not in the right place.How do I do that.
Thanks.