update styles for position bug. update ui element with more robust handlers.