adopted some css positioning