quick and dirty pref vertical shrinking

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>