move styles to resource dictionary