rework css to better split theme and required css, fix animation detection for modal and poplist, new build