[rails3-upgrade] Got previous and next buttons so work and display properly