replaced transitionend event with settimeout for reliability

also,
- added rounded corners
- cleaned up some css