Opening and closing a triple-sash window