fixed input sizes and added viewport size