after embedding in a scrollview, need adjustments

need further adjustments for horizontal/versical mode