Got the expand and dismiss by gesture working for portrait.