Samsung goes on the offensive in Apple trial