fix gradient bug (and remove nested divs)