added some css and bug fixes