add css inline instead of fetching with js, improve dom positioning on expand