organize css and implement flushing footer
update flushing footer