fixed window size problem for firefox and other browsers