fixed some css stuff and animation