add prev button to homepage