getting buttons size for mobile