* removed unused variable
* initialize isSmallScreen in the ctor
* close valist