added classes and css to fix appearance