added css for double buffer