fixed next button issue and adjusted some css