divs dont function as anticipated