added GPU acceleration on switch animation