JS issue fixed missing prev next link is element is not visible

Issue: If element is not visible the prev or next link is mission for guid tour.