Fixed the bug for direction 'bottom'

Date: 2014-8-13 13:45:19
Version: 2.3.2
Changelog: Fixed the bug for direction 'bottom'

Signed-off-by: jssoscar