Getting rid of hanging divs