option panel style and logic