fixing layout height and preventing from scrolling the uiview