add styling and ios workaround