switching between transparency and solid mode is added