updated to allow hidden div boxes when they are 0