hack on hack. Without resize orientation is not fixed