Buttons next&previous work

Add buttons that works