fixed some UI behavior/css issues