renamed some css styles
renamed events accordingly