create overall controller, calculate views height