Revert "fixed window size problem for firefox and other browsers"

This reverts commit 3579a8b79e57d8f7c9de7e409fdaaedde0d25aff.