Finally rotation is back even for WAFs!!!
You have to add this to your config.xml file:
<kindle:app name="com.lab126.pillow" value="yes"/>
and then call this function in your HTML:
Variable state can be "portrait", "auto" or "landscape"!!