set height of pic for all views