added styles for preview frame