changing picture height for preview