added frame opacity control