implement TOP, BOTTOM, LEFT, RIGHT side stretching