added option viewportHeight