contact details next and previous buttons working properly