working on a better next/back function