moved position and style slots from context to component