fixed box size for firefox and added samsung dependencies