add togglefullscreen function.