Added resize functionality. Modularized stylesheets