=Converted display class to function. Moved styles to external file.