fixed styling
added RTL support