adjust the horizontal preview panel's height because of Webkit's intelligent scrollbar hide feature