20141230 Debug the horizontal an vertical adding

Signed-off-by: Lazloo <Lazloo@laptop.com>