closer to fixing hist bug by selecting one div at time