Hello Gurumoorthy,
The efficient to achieve full screen toggle is to use javascript, but it seems you have implemented it already.
If you are looking for any modules or widgets in marketplace to achieve this, there is none in marketplace as date.