dock:: fix vertical max problem.

tower: https://tower.im/projects/8f19f0bf0e754f0b82ef2c24bc230973/todos/7d49144fc88f4e3a82a1c5dba23de995/

Change-Id: I9acdf2b7cd444b1d540b9b8d0edc56a346bd313a