Implemented MODE_TOP_BOTTOM