next button switches divs accordingly for proper functionality