updated layout to use gravity to center MainActivity properly